package com.mall.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.entity.SpuInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface SpuInfoMapper extends BaseMapper<SpuInfo> {
    public List<SpuInfo> searchByCatParentId(Integer parentid,Integer start , Integer pagesize,String con,String sor);
    Long CountByCatParentId(Integer parentid);
    public List<SpuInfo> searchByKeyWord(String  keyword,Integer start , Integer pagesize,String con,String sor);
    Long CountByKeyWord(String  keyword);
}